package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealService {
    void add(Setmeal setmeal, Integer[] checkgroupIds);

    PageResult findPage(QueryPageBean queryPageBean);

    List<Setmeal> getSetmeal();

    Setmeal findById(Integer id);

    List<Map<String, Object>> findsetmealCount();

    List<Integer> findGroupIdBySetmealId(Integer id);

    void edit(Setmeal setmeal, Integer[] checkgroupIds);

    void delete(Integer id);

    List<Map<String, Object>> findSetmealIncomeStatistics();

    List<Map<String,Object>> findMemberBySetmeal(String telephone);

    Setmeal findSetmealById(Integer id);

    List<Map<String,Object>> findByPage(String[] times,String telePhone) throws Exception;

    //todo
    List<Setmeal> findAll();


}
